package com.ruoyi.merchant.mapper;

import java.util.List;
import com.ruoyi.merchant.domain.Province;

/**
 * provinceMapper接口
 * 
 * @author chengxin.ju
 * @date 2023-12-12
 */
public interface ProvinceMapper 
{
    /**
     * 查询province
     * 
     * @param id province主键
     * @return province
     */
    public Province selectProvinceById(Long id);

    /**
     * 查询province列表
     * 
     * @param province province
     * @return province集合
     */
    public List<Province> selectProvinceList(Province province);

    /**
     * 新增province
     * 
     * @param province province
     * @return 结果
     */
    public int insertProvince(Province province);

    /**
     * 修改province
     * 
     * @param province province
     * @return 结果
     */
    public int updateProvince(Province province);

    /**
     * 删除province
     * 
     * @param id province主键
     * @return 结果
     */
    public int deleteProvinceById(Long id);

    /**
     * 批量删除province
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteProvinceByIds(Long[] ids);
}
